<template>
    <div>
        <div class="web-login">
          <div class="logo">
            <img src="/img/loginLogo.png" alt="">
          </div>
          <div class="login-form">
            <div>
              <form>
                <div class="form-group">
                  <input type="tel" maxlength="13" placeholder="手机号" class="input-control" >
                  <div class="get-code" style="position:absolute;right:0px;top:0px;color: #bdc0c5;">获取验证码</div>
                </div>
                <div class="form-group">
                  <input type="number" placeholder="验证码" class="input-control" >
                </div>
                <div class="submit">
                  <span>登录</span>
                </div>
              </form>
            </div>
          </div>
        </div>
    </div>
</template>
<script>
import Vue from 'vue'
var VueTouch = require('vue-touch')
Vue.use(VueTouch, { name: 'v-touch' })
export default {
  methods: {
    onSwipeLeft () {
      console.log('onSwipeLeft,左滑执行的方法')
    },
    onSwipeRight () {
      console.log('onSwipeRight,右滑执行的方法')
    }
  }
}
</script>
<style lang="scss" scoped>
.web-login {
  width:100%;
  height:auto;
  font-size: 15px;
  .logo {
    margin-top: 79px;
    margin-right: auto;
    margin-bottom: 40px;
    margin-left: auto;
    text-align: center;
    height: 60px;
    line-height: 60px;
    img {
      height: 60px;
    }
  }
  div {
    box-sizing: border-box;
  }
  .login-form {
    width: 100%;
    position: relative;
    div {
      form {
        display: block;
        margin-top: 0em;
        .form-group {
          line-height: 55px;
          margin: 0 25px;
          position: relative;
          border-bottom: 1px solid #f4f4f4;
          .input-control {
            height: 15px;
            line-height: 15px;
            padding: 20px 0;
            width: 100%;
            font-size: 15px;
            color: #191a1b;
            border: 0;
            outline-width: 0;
          }
          .get-code {
            cursor:pointer ;
          }
        }
        .submit {
          line-height: 45px;
          font-size: 16px;
          margin: 70px 25px 0;
          border-radius: 3px;
          text-align: center;
          background-color: #ff5f16;
          height: 44px;
          color: #fff;
          border: none;
        }
      }
    }
  }
}
</style>
